package com.oscroll.strategy.lesson.pay;

public enum  PayType {
    ALI_PAY(new AliPay()),
    UNION_PAY(new UnionPay());

    private Payment payment;
    PayType(Payment payment){
        this.payment = payment;
    }

    public Payment get(){
        return this.payment;
    }
}
